package cn.csc.module.shoppingCard.controller.admin.points.vo;

import com.alibaba.excel.annotation.ExcelProperty;
import lombok.Data;

import java.math.BigInteger;
import java.time.LocalDateTime;

/**
 * 购物卡积分 Excel VO
 *
 * @author liuchuang
 */
@Data
public class CardPointsExcelVO {

    @ExcelProperty("主键id")
    private BigInteger id;

    @ExcelProperty("关联的卡号")
    private BigInteger cardId;

    @ExcelProperty("积分变动值（正负区分增减）")
    private Integer points;

    @ExcelProperty("来源（1-消费返积分，2-活动赠送，3-管理员调整）")
    private Byte source;

    @ExcelProperty("积分过期时间")
    private LocalDateTime expireTime;

    @ExcelProperty("创建时间")
    private LocalDateTime createTime;

}
